﻿using GameView.Comment;
using GameView.Models;
using GameView.Services.Dtos.GameLoginDto;

namespace GameView.Services
{
    public class GameLoginService
    {
        public async Task<ApiResponse<PagedList<GameLoginEntity>>> GetPageAsync(GameLoginQueryDto queryDto)
        {
            var res = await $"{APIHelper.GameLogin}/page".PostAsync<PagedList<GameLoginEntity>, GameLoginQueryDto>(queryDto);
            return res;
        }
    }
}